package com.yuantu.judiciary.model.domain;

import com.yuantu.judiciary.model.BaseDO;
import com.yuantu.judiciary.model.enums.EndpointType;
import com.yuantu.judiciary.model.enums.ExtractPointState;
import com.yuantu.judiciary.model.enums.OrganizationType;
import com.yuantu.judiciary.model.enums.PayState;
import lombok.Data;
import org.hibernate.annotations.Comment;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.*;
import java.sql.Timestamp;

/**
 * 提现记录表
 *
 * @author zy
 **/
@Data
@Entity
@DynamicUpdate
@Table(name = "extract_point")
public class ExtractPointDO extends BaseDO {


    /**
     * 提现金额
     */
    @Comment("提现金额")
    private Double point;

    /**
     * 提现状态
     */
    @Enumerated(EnumType.STRING)
    @Comment("提现状态")
    private ExtractPointState extractPointState;


    @Enumerated(EnumType.STRING)
    @Comment("来源类型")
    private EndpointType type;


    @Comment("目标账户")
    private String target;

}
